
 %clear
 %clc
 
 A = 3;   % the first side of a triangle
 B = 4;   % the second side of a triangle
  
 hypSq = A^2 + B^2;   % the square of the 
                      % hypotenuse
 H = sqrt(hypSq)      % the answer
